package com.xinzhi.mapper;


//import com.xinzhi.domain.entity.Man;
import com.xinzhi.domain.Man;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ManMapper {
    int inMan(@Param("userId")Integer userid,@Param("name") String name,@Param("phone") String phone);

    List<Man> getMan(Integer id);

    int upMan(@Param("id") Integer id,@Param("name") String name,@Param("phone") String phone);

    int deMan(Integer id);
    /**
     * 展示用户对应的提货人信息
     * @param userId
     * @return
     */
    List<Man> showManInfo(Integer userId);

    Man getManInfo(Integer manId);

}
